<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<#include "/header.html">
<body onload="prettyPrint()">
	<#include "/navbar.html">
	<div class="container">
		<div class="hidden-desktop row-fluid">
			<form class="form-inline" action="${baseRef}/search" method="get">
				<input name="query" type="text" value="${query!}" placeholder="${rc.getString("mp.search")}">
				<input type="submit" class="btn btn-primary" value="${rc.getString("mp.search")}">				
			</form>
		</div>
		
		<div class="row-fluid">
			<div class="span7">	
				<!-- list content -->
				<h3>${query!}</h3>
				<#include "/results.html">
				
				<#if ((prevPage > 0) || (results?size = pageSize)) >
				<ul class="pager">
					<#if (prevPage > 0) >
  						<li class="previous"><a href="${pageRef}?query=${query}&page=${prevPage}">&larr; ${rc.getString("mp.previous")}</a></li>
  					</#if>
  					<#if (results?size = pageSize) >
						<li class="next"><a href="${pageRef}?query=${query}&page=${nextPage}">${rc.getString("mp.next")} &rarr;</a></li>
					</#if>
  				</ul>
				</#if>
			</div>
			<div class="span4">
				<h3>${rc.getString("mp.luceneHelp")}</h3>
				<div class="alert alert-info">
					groupid:*apache*<br/>
					description:json<br/>
					artifactid:*ant* AND packaging:jar
				</div>
			Standard query syntax is supported.<br/>
			Please see <a target="_blank" href="http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/queryparsersyntax.html">Lucene Query Parser Syntax</a> for details. 
			</div>	
		</div>
		
		<#include "/footer.html">
	</div>
</body>
</html>